package com.zhengyisky.mapper;

import com.zhengyisky.pojo.User;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

@Mapper
public interface UserMapper {
    @Select("select * from tb_user where username=#{username}")
    User findUserByUsername(User user);
}
